package assignment1;

public class Car {
    private int xPosition;
    private int yPosition;

    public Car(int x, int y){
        xPosition = x;
        yPosition = y;
    }

    public int getXPosition (){return xPosition;  }
    public int getYPosition (){return yPosition;  }

    public void setXPosition (int x) {xPosition = x;}
    public void setYPosition (int y) {yPosition = y;}
}

